package com.cw.jeeyt.dao.model.system;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 节假日信息Example
 *
 * @author chenw
 * @date 2020-03-18 20:21:41
 */
public class SystemHolidayExample {
    /** 排序字段 */
    protected String orderByClause;

    /** 是否只查询记录不同的数据 */
    protected boolean distinct;

    /** or条件查询集合 */
    protected List<Criteria> oredCriteria;

    /**
     * 初始化or条件查询集合
     */
    public SystemHolidayExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * 排序字段set方法
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * 排序字段get方法
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * 不同记录set方法.
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * 不同记录get方法.
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * 排序集合get方法
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * or
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * or
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * 初始化标准规范
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * 初始化标准规范
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * 清除数据
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

                public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }
		        public Criteria andHolidayYearIsNull() {
            addCriterion("holiday_year is null");
            return (Criteria) this;
        }

        public Criteria andHolidayYearIsNotNull() {
            addCriterion("holiday_year is not null");
            return (Criteria) this;
        }

        public Criteria andHolidayYearEqualTo(String value) {
            addCriterion("holiday_year =", value, "holidayYear");
            return (Criteria) this;
        }

        public Criteria andHolidayYearNotEqualTo(String value) {
            addCriterion("holiday_year <>", value, "holidayYear");
            return (Criteria) this;
        }

        public Criteria andHolidayYearGreaterThan(String value) {
            addCriterion("holiday_year >", value, "holidayYear");
            return (Criteria) this;
        }

        public Criteria andHolidayYearGreaterThanOrEqualTo(String value) {
            addCriterion("holiday_year >=", value, "holidayYear");
            return (Criteria) this;
        }

        public Criteria andHolidayYearLessThan(String value) {
            addCriterion("holiday_year <", value, "holidayYear");
            return (Criteria) this;
        }

        public Criteria andHolidayYearLessThanOrEqualTo(String value) {
            addCriterion("holiday_year <=", value, "holidayYear");
            return (Criteria) this;
        }

        public Criteria andHolidayYearLike(String value) {
            addCriterion("holiday_year like", value, "holidayYear");
            return (Criteria) this;
        }

        public Criteria andHolidayYearNotLike(String value) {
            addCriterion("holiday_year not like", value, "holidayYear");
            return (Criteria) this;
        }

        public Criteria andHolidayYearIn(List<String> values) {
            addCriterion("holiday_year in", values, "holidayYear");
            return (Criteria) this;
        }

        public Criteria andHolidayYearNotIn(List<String> values) {
            addCriterion("holiday_year not in", values, "holidayYear");
            return (Criteria) this;
        }

        public Criteria andHolidayYearBetween(String value1, String value2) {
            addCriterion("holiday_year between", value1, value2, "holidayYear");
            return (Criteria) this;
        }

        public Criteria andHolidayYearNotBetween(String value1, String value2) {
            addCriterion("holiday_year not between", value1, value2, "holidayYear");
            return (Criteria) this;
        }
		        public Criteria andHolidayTypeIsNull() {
            addCriterion("holiday_type is null");
            return (Criteria) this;
        }

        public Criteria andHolidayTypeIsNotNull() {
            addCriterion("holiday_type is not null");
            return (Criteria) this;
        }

        public Criteria andHolidayTypeEqualTo(String value) {
            addCriterion("holiday_type =", value, "holidayType");
            return (Criteria) this;
        }

        public Criteria andHolidayTypeNotEqualTo(String value) {
            addCriterion("holiday_type <>", value, "holidayType");
            return (Criteria) this;
        }

        public Criteria andHolidayTypeGreaterThan(String value) {
            addCriterion("holiday_type >", value, "holidayType");
            return (Criteria) this;
        }

        public Criteria andHolidayTypeGreaterThanOrEqualTo(String value) {
            addCriterion("holiday_type >=", value, "holidayType");
            return (Criteria) this;
        }

        public Criteria andHolidayTypeLessThan(String value) {
            addCriterion("holiday_type <", value, "holidayType");
            return (Criteria) this;
        }

        public Criteria andHolidayTypeLessThanOrEqualTo(String value) {
            addCriterion("holiday_type <=", value, "holidayType");
            return (Criteria) this;
        }

        public Criteria andHolidayTypeLike(String value) {
            addCriterion("holiday_type like", value, "holidayType");
            return (Criteria) this;
        }

        public Criteria andHolidayTypeNotLike(String value) {
            addCriterion("holiday_type not like", value, "holidayType");
            return (Criteria) this;
        }

        public Criteria andHolidayTypeIn(List<String> values) {
            addCriterion("holiday_type in", values, "holidayType");
            return (Criteria) this;
        }

        public Criteria andHolidayTypeNotIn(List<String> values) {
            addCriterion("holiday_type not in", values, "holidayType");
            return (Criteria) this;
        }

        public Criteria andHolidayTypeBetween(String value1, String value2) {
            addCriterion("holiday_type between", value1, value2, "holidayType");
            return (Criteria) this;
        }

        public Criteria andHolidayTypeNotBetween(String value1, String value2) {
            addCriterion("holiday_type not between", value1, value2, "holidayType");
            return (Criteria) this;
        }
		        public Criteria andHolidayDateIsNull() {
            addCriterion("holiday_date is null");
            return (Criteria) this;
        }

        public Criteria andHolidayDateIsNotNull() {
            addCriterion("holiday_date is not null");
            return (Criteria) this;
        }

        public Criteria andHolidayDateEqualTo(String value) {
            addCriterion("holiday_date =", value, "holidayDate");
            return (Criteria) this;
        }

        public Criteria andHolidayDateNotEqualTo(String value) {
            addCriterion("holiday_date <>", value, "holidayDate");
            return (Criteria) this;
        }

        public Criteria andHolidayDateGreaterThan(String value) {
            addCriterion("holiday_date >", value, "holidayDate");
            return (Criteria) this;
        }

        public Criteria andHolidayDateGreaterThanOrEqualTo(String value) {
            addCriterion("holiday_date >=", value, "holidayDate");
            return (Criteria) this;
        }

        public Criteria andHolidayDateLessThan(String value) {
            addCriterion("holiday_date <", value, "holidayDate");
            return (Criteria) this;
        }

        public Criteria andHolidayDateLessThanOrEqualTo(String value) {
            addCriterion("holiday_date <=", value, "holidayDate");
            return (Criteria) this;
        }

        public Criteria andHolidayDateLike(String value) {
            addCriterion("holiday_date like", value, "holidayDate");
            return (Criteria) this;
        }

        public Criteria andHolidayDateNotLike(String value) {
            addCriterion("holiday_date not like", value, "holidayDate");
            return (Criteria) this;
        }

        public Criteria andHolidayDateIn(List<String> values) {
            addCriterion("holiday_date in", values, "holidayDate");
            return (Criteria) this;
        }

        public Criteria andHolidayDateNotIn(List<String> values) {
            addCriterion("holiday_date not in", values, "holidayDate");
            return (Criteria) this;
        }

        public Criteria andHolidayDateBetween(String value1, String value2) {
            addCriterion("holiday_date between", value1, value2, "holidayDate");
            return (Criteria) this;
        }

        public Criteria andHolidayDateNotBetween(String value1, String value2) {
            addCriterion("holiday_date not between", value1, value2, "holidayDate");
            return (Criteria) this;
        }
		        public Criteria andHolidayWeekIsNull() {
            addCriterion("holiday_week is null");
            return (Criteria) this;
        }

        public Criteria andHolidayWeekIsNotNull() {
            addCriterion("holiday_week is not null");
            return (Criteria) this;
        }

        public Criteria andHolidayWeekEqualTo(Integer value) {
            addCriterion("holiday_week =", value, "holidayWeek");
            return (Criteria) this;
        }

        public Criteria andHolidayWeekNotEqualTo(Integer value) {
            addCriterion("holiday_week <>", value, "holidayWeek");
            return (Criteria) this;
        }

        public Criteria andHolidayWeekGreaterThan(Integer value) {
            addCriterion("holiday_week >", value, "holidayWeek");
            return (Criteria) this;
        }

        public Criteria andHolidayWeekGreaterThanOrEqualTo(Integer value) {
            addCriterion("holiday_week >=", value, "holidayWeek");
            return (Criteria) this;
        }

        public Criteria andHolidayWeekLessThan(Integer value) {
            addCriterion("holiday_week <", value, "holidayWeek");
            return (Criteria) this;
        }

        public Criteria andHolidayWeekLessThanOrEqualTo(Integer value) {
            addCriterion("holiday_week <=", value, "holidayWeek");
            return (Criteria) this;
        }

        public Criteria andHolidayWeekLike(Integer value) {
            addCriterion("holiday_week like", value, "holidayWeek");
            return (Criteria) this;
        }

        public Criteria andHolidayWeekNotLike(Integer value) {
            addCriterion("holiday_week not like", value, "holidayWeek");
            return (Criteria) this;
        }

        public Criteria andHolidayWeekIn(List<Integer> values) {
            addCriterion("holiday_week in", values, "holidayWeek");
            return (Criteria) this;
        }

        public Criteria andHolidayWeekNotIn(List<Integer> values) {
            addCriterion("holiday_week not in", values, "holidayWeek");
            return (Criteria) this;
        }

        public Criteria andHolidayWeekBetween(Integer value1, Integer value2) {
            addCriterion("holiday_week between", value1, value2, "holidayWeek");
            return (Criteria) this;
        }

        public Criteria andHolidayWeekNotBetween(Integer value1, Integer value2) {
            addCriterion("holiday_week not between", value1, value2, "holidayWeek");
            return (Criteria) this;
        }
		        public Criteria andHolidayStatusIsNull() {
            addCriterion("holiday_status is null");
            return (Criteria) this;
        }

        public Criteria andHolidayStatusIsNotNull() {
            addCriterion("holiday_status is not null");
            return (Criteria) this;
        }

        public Criteria andHolidayStatusEqualTo(String value) {
            addCriterion("holiday_status =", value, "holidayStatus");
            return (Criteria) this;
        }

        public Criteria andHolidayStatusNotEqualTo(String value) {
            addCriterion("holiday_status <>", value, "holidayStatus");
            return (Criteria) this;
        }

        public Criteria andHolidayStatusGreaterThan(String value) {
            addCriterion("holiday_status >", value, "holidayStatus");
            return (Criteria) this;
        }

        public Criteria andHolidayStatusGreaterThanOrEqualTo(String value) {
            addCriterion("holiday_status >=", value, "holidayStatus");
            return (Criteria) this;
        }

        public Criteria andHolidayStatusLessThan(String value) {
            addCriterion("holiday_status <", value, "holidayStatus");
            return (Criteria) this;
        }

        public Criteria andHolidayStatusLessThanOrEqualTo(String value) {
            addCriterion("holiday_status <=", value, "holidayStatus");
            return (Criteria) this;
        }

        public Criteria andHolidayStatusLike(String value) {
            addCriterion("holiday_status like", value, "holidayStatus");
            return (Criteria) this;
        }

        public Criteria andHolidayStatusNotLike(String value) {
            addCriterion("holiday_status not like", value, "holidayStatus");
            return (Criteria) this;
        }

        public Criteria andHolidayStatusIn(List<String> values) {
            addCriterion("holiday_status in", values, "holidayStatus");
            return (Criteria) this;
        }

        public Criteria andHolidayStatusNotIn(List<String> values) {
            addCriterion("holiday_status not in", values, "holidayStatus");
            return (Criteria) this;
        }

        public Criteria andHolidayStatusBetween(String value1, String value2) {
            addCriterion("holiday_status between", value1, value2, "holidayStatus");
            return (Criteria) this;
        }

        public Criteria andHolidayStatusNotBetween(String value1, String value2) {
            addCriterion("holiday_status not between", value1, value2, "holidayStatus");
            return (Criteria) this;
        }
		        public Criteria andIsLegalHolidayIsNull() {
            addCriterion("is_legal_holiday is null");
            return (Criteria) this;
        }

        public Criteria andIsLegalHolidayIsNotNull() {
            addCriterion("is_legal_holiday is not null");
            return (Criteria) this;
        }

        public Criteria andIsLegalHolidayEqualTo(String value) {
            addCriterion("is_legal_holiday =", value, "isLegalHoliday");
            return (Criteria) this;
        }

        public Criteria andIsLegalHolidayNotEqualTo(String value) {
            addCriterion("is_legal_holiday <>", value, "isLegalHoliday");
            return (Criteria) this;
        }

        public Criteria andIsLegalHolidayGreaterThan(String value) {
            addCriterion("is_legal_holiday >", value, "isLegalHoliday");
            return (Criteria) this;
        }

        public Criteria andIsLegalHolidayGreaterThanOrEqualTo(String value) {
            addCriterion("is_legal_holiday >=", value, "isLegalHoliday");
            return (Criteria) this;
        }

        public Criteria andIsLegalHolidayLessThan(String value) {
            addCriterion("is_legal_holiday <", value, "isLegalHoliday");
            return (Criteria) this;
        }

        public Criteria andIsLegalHolidayLessThanOrEqualTo(String value) {
            addCriterion("is_legal_holiday <=", value, "isLegalHoliday");
            return (Criteria) this;
        }

        public Criteria andIsLegalHolidayLike(String value) {
            addCriterion("is_legal_holiday like", value, "isLegalHoliday");
            return (Criteria) this;
        }

        public Criteria andIsLegalHolidayNotLike(String value) {
            addCriterion("is_legal_holiday not like", value, "isLegalHoliday");
            return (Criteria) this;
        }

        public Criteria andIsLegalHolidayIn(List<String> values) {
            addCriterion("is_legal_holiday in", values, "isLegalHoliday");
            return (Criteria) this;
        }

        public Criteria andIsLegalHolidayNotIn(List<String> values) {
            addCriterion("is_legal_holiday not in", values, "isLegalHoliday");
            return (Criteria) this;
        }

        public Criteria andIsLegalHolidayBetween(String value1, String value2) {
            addCriterion("is_legal_holiday between", value1, value2, "isLegalHoliday");
            return (Criteria) this;
        }

        public Criteria andIsLegalHolidayNotBetween(String value1, String value2) {
            addCriterion("is_legal_holiday not between", value1, value2, "isLegalHoliday");
            return (Criteria) this;
        }
		        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(Long value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(Long value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(Long value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(Long value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(Long value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(Long value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(Long value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(Long value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<Long> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<Long> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(Long value1, Long value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(Long value1, Long value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }
		        public Criteria andCreateDateIsNull() {
            addCriterion("create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLike(Date value) {
            addCriterion("create_date like", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotLike(Date value) {
            addCriterion("create_date not like", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }
		        public Criteria andUpdateByIsNull() {
            addCriterion("update_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(Long value) {
            addCriterion("update_by =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(Long value) {
            addCriterion("update_by <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(Long value) {
            addCriterion("update_by >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(Long value) {
            addCriterion("update_by >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(Long value) {
            addCriterion("update_by <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(Long value) {
            addCriterion("update_by <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(Long value) {
            addCriterion("update_by like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(Long value) {
            addCriterion("update_by not like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<Long> values) {
            addCriterion("update_by in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<Long> values) {
            addCriterion("update_by not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(Long value1, Long value2) {
            addCriterion("update_by between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(Long value1, Long value2) {
            addCriterion("update_by not between", value1, value2, "updateBy");
            return (Criteria) this;
        }
		        public Criteria andUpdateDateIsNull() {
            addCriterion("update_date is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("update_date is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("update_date =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("update_date <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("update_date >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("update_date >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("update_date <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("update_date <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLike(Date value) {
            addCriterion("update_date like", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotLike(Date value) {
            addCriterion("update_date not like", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("update_date in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("update_date not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("update_date between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("update_date not between", value1, value2, "updateDate");
            return (Criteria) this;
        }
		    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}
